projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de80086
)
* lisp/emacs-lisp/comp.el (comp-accept-and-process-async-output): Fix regexp.
author
Andrea Corallo
<akrl@sdf.org>
Mon, 26 Apr 2021 13:59:06 +0000
(15:59 +0200)
committer
Andrea Corallo
<akrl@sdf.org>
Mon, 26 Apr 2021 14:00:03 +0000
(16:00 +0200)
lisp/emacs-lisp/comp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/comp.el
b/lisp/emacs-lisp/comp.el
index fd8a8c61cce5c7e61f90ff870baaff94819b6cb6..eebb77d993f6831a8af42092473252093da49e8e 100644
(file)
--- a/
lisp/emacs-lisp/comp.el
+++ b/
lisp/emacs-lisp/comp.el
@@
-3878,7
+3878,7
@@
processes from `comp-async-compilations'"
(save-excursion
(accept-process-output process)
(goto-char (or comp-last-scanned-async-output (point-min)))
- (while (re-search-forward "^.*
+
?\\(?:Error\\|Warning\\): .*$"
+ (while (re-search-forward "^.*?\\(?:Error\\|Warning\\): .*$"
nil t)
(display-warning 'comp (match-string 0)))
(setq comp-last-scanned-async-output (point-max))))